﻿// ******************************************************************
// * Copyright(c)  Dextrys P&G Team
// * Description   : Schema_SALES_USER_SCHEDULER
// * CreateDate    : 2012/12/29 12:43:17
// * Creater       : SalesUserSchedulerTable
// * LastChangeDate: 2012/12/29 12:43:17
// * LastChanger   : 2012/12/29 12:43:17
// * Version Info  : 1.0 For LKBOOK
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
    [Serializable]
    public partial class SalesUserSchedulerTable : TableInfo
    {
        public const string C_TableName = "SALES_USER_SCHEDULER";

        public const string C_SCHEDULER_ID = "SCHEDULER_ID";
        public const string C_PERSON_ID = "PERSON_ID";
        public const string C_APP_ALL_DAY = "APP_ALL_DAY";
        public const string C_APP_DESCRIPTION = "APP_DESCRIPTION";
        public const string C_APP_END = "APP_END";
        public const string C_APP_LABEL = "APP_LABEL";
        public const string C_APP_LOCATION = "APP_LOCATION";
        public const string C_APP_RECURRENCE_INFO = "APP_RECURRENCE_INFO";
        public const string C_APP_REMINDER_INFO = "APP_REMINDER_INFO";
        public const string C_APP_RESOURCE_ID = "APP_RESOURCE_ID";
        public const string C_APP_START = "APP_START";
        public const string C_APP_STATUS = "APP_STATUS";
        public const string C_APP_SUBJECT = "APP_SUBJECT";
        public const string C_APP_TYPE = "APP_TYPE";

        public SalesUserSchedulerTable()
        {
            _tableName = "SALES_USER_SCHEDULER";
        }

        protected static SalesUserSchedulerTable _current;
        public static SalesUserSchedulerTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }

        private static void Initial()
        {
            _current = new SalesUserSchedulerTable();

            _current.Add(C_SCHEDULER_ID, new ColumnInfo(C_SCHEDULER_ID, "SchedulerId", true, typeof(string)));
            _current.Add(C_PERSON_ID, new ColumnInfo(C_PERSON_ID, "PersonId", false, typeof(string)));
            _current.Add(C_APP_ALL_DAY, new ColumnInfo(C_APP_ALL_DAY, "AppAllDay", false, typeof(bool)));
            _current.Add(C_APP_DESCRIPTION, new ColumnInfo(C_APP_DESCRIPTION, "AppDescription", false, typeof(string)));
            _current.Add(C_APP_END, new ColumnInfo(C_APP_END, "AppEnd", false, typeof(DateTime)));
            _current.Add(C_APP_LABEL, new ColumnInfo(C_APP_LABEL, "AppLabel", false, typeof(int)));
            _current.Add(C_APP_LOCATION, new ColumnInfo(C_APP_LOCATION, "AppLocation", false, typeof(string)));
            //_current.Add(C_APP_RECURRENCE_INFO, new ColumnInfo(C_APP_RECURRENCE_INFO, "AppRecurrenceInfo", false, typeof(__UNKNOWN__xml)));
            //_current.Add(C_APP_REMINDER_INFO, new ColumnInfo(C_APP_REMINDER_INFO, "AppReminderInfo", false, typeof(__UNKNOWN__xml)));
            _current.Add(C_APP_RESOURCE_ID, new ColumnInfo(C_APP_RESOURCE_ID, "AppResourceId", false, typeof(int)));
            _current.Add(C_APP_START, new ColumnInfo(C_APP_START, "AppStart", false, typeof(DateTime)));
            _current.Add(C_APP_STATUS, new ColumnInfo(C_APP_STATUS, "AppStatus", false, typeof(string)));
            _current.Add(C_APP_SUBJECT, new ColumnInfo(C_APP_SUBJECT, "AppSubject", false, typeof(string)));
            _current.Add(C_APP_TYPE, new ColumnInfo(C_APP_TYPE, "AppType", false, typeof(string)));

        }

        public ColumnInfo SCHEDULER_ID
        {
            get { return this[C_SCHEDULER_ID]; }
        }

        public ColumnInfo PERSON_ID
        {
            get { return this[C_PERSON_ID]; }
        }

        public ColumnInfo APP_ALL_DAY
        {
            get { return this[C_APP_ALL_DAY]; }
        }

        public ColumnInfo APP_DESCRIPTION
        {
            get { return this[C_APP_DESCRIPTION]; }
        }

        public ColumnInfo APP_END
        {
            get { return this[C_APP_END]; }
        }

        public ColumnInfo APP_LABEL
        {
            get { return this[C_APP_LABEL]; }
        }

        public ColumnInfo APP_LOCATION
        {
            get { return this[C_APP_LOCATION]; }
        }

        public ColumnInfo APP_RECURRENCE_INFO
        {
            get { return this[C_APP_RECURRENCE_INFO]; }
        }

        public ColumnInfo APP_REMINDER_INFO
        {
            get { return this[C_APP_REMINDER_INFO]; }
        }

        public ColumnInfo APP_RESOURCE_ID
        {
            get { return this[C_APP_RESOURCE_ID]; }
        }

        public ColumnInfo APP_START
        {
            get { return this[C_APP_START]; }
        }

        public ColumnInfo APP_STATUS
        {
            get { return this[C_APP_STATUS]; }
        }

        public ColumnInfo APP_SUBJECT
        {
            get { return this[C_APP_SUBJECT]; }
        }

        public ColumnInfo APP_TYPE
        {
            get { return this[C_APP_TYPE]; }
        }



    }
}

